package com.stylefeng.guns.modular.system.model;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 收藏记录表
 * </p>
 *
 * @author leequn
 * @since 2018-08-02
 */
@TableName("tb_house_collection")
public class HouseCollection extends Model<HouseCollection> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 用户
            
     */
    @TableField("user_id")
    private Integer userId;
    /**
     * 户型
     */
    @TableField("house_id")
    private Integer houseId;
    /**
     * 状态
     */
    private Integer stu;
    /**
     * 创建日期
     */
    @TableField("create_time")
    private Date createTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getHouseId() {
        return houseId;
    }

    public void setHouseId(Integer houseId) {
        this.houseId = houseId;
    }

    public Integer getStu() {
        return stu;
    }

    public void setStu(Integer stu) {
        this.stu = stu;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "HouseCollection{" +
        "id=" + id +
        ", userId=" + userId +
        ", houseId=" + houseId +
        ", stu=" + stu +
        ", createTime=" + createTime +
        "}";
    }
}
